package com.xie.service;

import com.xie.pojo.Dog;

import java.util.List;

public interface DogService {
    //添加宠物领养
    int addDog(Dog dog);

    //查询所有宠物
    List<Dog> allDog();

    //删除宠物
    int deleteDog(int did);

    //查询某个宠物
    Dog queryDogByText(String dtext);
}
